﻿using AutoMapper;
using S_Gridding.Api.Application.Commands.MeshType;
using S_Gridding.Domains.BasicData;

namespace S_Gridding.Api.Extensions
{
    /// <summary>
    /// 网格类型管理表  添加、修改的automapper
    /// 需要先下载包  让后Program配置一下
    /// </summary>
    public class MeshTypeProfile: Profile
    {
        public MeshTypeProfile()
        {
            CreateMap<MeshTypeSqlSuageCeateCommand, MeshTypeInfo>().ReverseMap();   //添加网格类型管理信息
            CreateMap<MeshTypeSqlSuageUpdateCommand, MeshTypeInfo>().ReverseMap();   //修改网格类型管理信息
        }
    }
}
